﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public enum TeamRelation
{
    Hostile,
    Friend
}

public class Team : MonoBehaviour
{
    public int team;
    public static List<Team> _allTeams = new List<Team>();
    // Start is called before the first frame update
    void Awake()
    {
        _allTeams.Add(this);
    }

    void OnDestroy()
    {
        _allTeams.Remove(this);
    }

    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public static bool IsEnemy(int teamMe, int teamHe)
    {
        return teamMe != teamHe;
    }
}
